package com.example.common.constant;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author 罗俊华
 * @date 2022/3/14 - 5:29 下午
 */
@Data
public class PlainToken {

    private String principal;

    private List<String> authorizationList;

    private Map<String, String> requestParameters;


    public PlainToken(String principal, List<String> authorizationList, Map<String, String> requestParameters) {
        this.principal = principal;
        this.authorizationList = authorizationList;
        this.requestParameters = requestParameters;
    }

    public PlainToken() {
    }
}
